package cn.jinjie.day07;

import java.util.HashSet;

public class Test01 {
    public static void main(String[] args) {
        HashSet<Student> students = new HashSet<>();
        Student s1 = new Student("至尊宝", 20, 169.6);
        Student s2 = new Student("蜘蛛精", 23, 169.6);
        Student s3 = new Student("蜘蛛精", 23, 169.6);
        Student s4 = new Student("牛魔王", 48, 169.6);


        students.add(s1);
        students.add(s2);
        students.add(s3);
        students.add(s4);
        // students.size()

        for (Student s : students) {
            System.out.println(s);
        }
    }
}
